/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconhaoping: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M270.443 476.834h-53.137v410.824h53.137V476.834zM546.102 83.035c24.362 0 45.999 7.537 64.917 22.614 18.916 15.017 31.099 34.421 36.543 58.21l4.044 17.197c4.011 23.329 6.018 45.943 6.018 67.84 0 43.735-7.196 86.442-21.581 128.114l-2.838 8.254 226.737 1.033c16.738 0.516 32.644 5.245 47.72 14.189 15.076 8.941 27.228 20.835 36.456 35.683a102.882 102.882 0 0 1 12.898 30.611c2.635 10.833 3.528 21.983 2.666 33.445l-0.686 10.232c-0.057 0.46-2.695 15.765-7.912 45.914-6.477 36.456-13.069 71.423-19.775 104.898-21.323 106.389-39.696 177.954-55.115 214.697l-6.879 11.523c-2.98 6.536-7.595 13.154-13.843 19.863-6.192 6.65-13.154 12.467-20.894 17.453-15.134 9.572-31.583 14.96-49.352 16.164l-685.37-0.259c-10.204-0.286-18.744-3.439-25.623-9.457C67.41 925.173 64 917.781 64 909.067l0.344-453.558c0-8.886 3.153-16.479 9.457-22.784s13.901-9.457 22.784-9.457l162.162-0.086c11.982 0 28.001-6.448 48.064-19.345 20.635-13.242 40.669-30.265 60.102-51.075 21.668-23.159 38.981-47.345 51.934-72.57 14.846-28.89 22.642-56.779 23.387-83.661-0.227-2.35-0.344-5.387-0.344-9.115 0-28.773 10.175-53.367 30.525-73.773 20.348-20.406 44.909-30.61 73.686-30.61l0.001 0.002z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

Iconhaoping.defaultProps = {
  size: 18,
};

export default Iconhaoping;
